package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	HeadImage string `gorm:"type:varchar(200)" json:"head_image"`
	Name      string `gorm:"type:varchar(20)" json:"name"`
	Password  string `gorm:"type:varchar(32)" json:"password"`
	Phone     string `gorm:"type:char(11)" json:"phone"`
	Sex       string `gorm:"type:varchar(10)" json:"sex"`
}
